package dreamtwodancetiktokenumsmymongo

const (
	ModelTypeDefault  = 0 //默认模式
	ModelTypeCategory = 1 //组合模式
	ModelTypeMarry    = 2 //结婚模式
)

type DanceRoomModelEnums struct {
}

var DanceRoomModelEnumsObject DanceRoomModelEnums

func (e DanceRoomModelEnums) ModelType() []int {
	return []int{
		ModelTypeDefault,
		ModelTypeCategory,
		ModelTypeMarry,
	}
}

func (e DanceRoomModelEnums) ModelTypeMap() map[int]int {
	m := make(map[int]int)
	for _, s := range e.ModelType() {
		m[s] = s
	}
	return m
}

func (e DanceRoomModelEnums) ModelTypeString(tag int) string {
	switch tag {
	case ModelTypeDefault:
		return "对战模式" //对战模式 （默认模式）
	case ModelTypeCategory:
		return "休闲模式" //休闲模式（组合模式）
	case ModelTypeMarry:
		return "结婚模式" //结婚模式
	default:
		return "未知"
	}
}
